%%%-------------------------------------------------------------------
%%% @author patton.zhu
%%% @copyright (C) 2022, <COMPANY>
%%% @doc
%%%
%%% @end
%%% Created : 12. 5月 2022 15:21
%%%-------------------------------------------------------------------
-module(tut4).
-author("patton.zhu").

%% API
-export([list_length/1]).

list_length([]) ->
  0;
list_length([First | Rest]) ->
  1 + list_length(Rest).
